//
//  ZMyOrderInfoCell.h
//  DistributorAB
//
//  Created by LZY on 2019/10/14.
//  Copyright © 2019 主事丫环. All rights reserved.
//

// 提交预订单 订单信息cell

#import <UIKit/UIKit.h>
#import "BShopPartModel.h"
NS_ASSUME_NONNULL_BEGIN

//订单详情使用的代理
@protocol ZMyOrderInfoCellDelegate <NSObject>
- (void)orderInfoCellBtnChangeClick:(NSIndexPath *)indexPath;
- (void)orderInfoCellBtnCancelClick:(NSIndexPath *)indexPath;
@end

@interface ZMyOrderInfoCell : UITableViewCell
@property (nonatomic, strong) BShopPartModel *partModel;
@property (nonatomic, assign) BOOL isOrderDetail;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, weak) id <ZMyOrderInfoCellDelegate> delegate;
+ (CGFloat)cellHeight;
+ (CGFloat)cellDetailHeight;//订单详情高度
@end

NS_ASSUME_NONNULL_END
